package io.gitee.geminidev.bot.domain;

/**
 * @Author gemini
 * @Date 2023/4/3 21:14
 * @description: 子频道消息
 */
public class ChannelMessage extends BaseMessage {

    /**
     * 服务器ID
     */
    private String guild_id;

    /**
     * 频道ID
     */
    private String id;

    /**
     * 频道名称
     */
    private String name;

    /**
     * 频道的管理员ID
     */
    private String op_user_id;

    /**
     * 频道的创建者ID
     */
    private String owner_id;

    /**
     * 频道类型
     * 0：普通频道
     * 1：超级频道
     */
    private int type;

    /**
     * 频道子类型
     * 0：普通频道
     * 1：临时会话
     * 2：预约会话
     */
    private int sub_type;

    // Getters and Setters

    public String getGuild_id() {
        return guild_id;
    }
    public void setGuild_id(String guild_id) {
        this.guild_id = guild_id;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getOp_user_id() {
        return op_user_id;
    }
    public void setOp_user_id(String op_user_id) {
        this.op_user_id = op_user_id;
    }
    public String getOwner_id() {
        return owner_id;
    }
    public void setOwner_id(String owner_id) {
        this.owner_id = owner_id;
    }
    public int getType() {
        return type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public int getSub_type() {
        return sub_type;
    }
    public void setSub_type(int sub_type) {
        this.sub_type = sub_type;
    }
}
